package com.dai.designpattern.factory.method;

/**
 * @author daijiyong
 */
public class Test {
    public static void main(String[] args) {
        ICourseFactory courseFactory = new JavaCourseFactory();
        ICourse course = courseFactory.create();
        course.play();
    }
}
